Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arnold metadata : Show color_jitter.data_input in Graph Editor #5936

Merged

Conversation

johnhaddon
Copy link
Member

Arnold doesn't seem to be entirely consistent about whether it declares the linkable metadata for all parameters or not, and it wasn't declaring it in this case despite the parameter being linkable in practice. That meant that ArnoldShaderUI fell through to a heuristic that assumes that ints aren't linkable and so don't need to be shown in the GraphEditor. We now declare the linkable metadata ourselves, and for good measure, also make data_input visible by default rather than hidden behind the + button.

Arnold doesn't seem to be entirely consistent about whether it declares the `linkable` metadata for all parameters or not, and it wasn't declaring it in this case despite the parameter being linkable in practice. That meant that ArnoldShaderUI fell through to a heuristic that assumes that ints aren't linkable and so don't need to be shown in the GraphEditor. We now declare the `linkable` metadata ourselves, and for good measure, also make `data_input` visible by default rather than hidden behind the `+` button.
@johnhaddon johnhaddon self-assigned this Jul 4, 2024
Copy link
Contributor

@murraystevenson murraystevenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! I spotted a few other int parameter candidates for the linkable treatment, I'll put them up as a separate PR so you can a look.

@murraystevenson murraystevenson merged commit 31bb222 into GafferHQ:1.4_maintenance Jul 4, 2024
5 checks passed
@johnhaddon johnhaddon deleted the colorJitterNodules branch August 7, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants